﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnLineRegis.aspx.cs" Inherits="CJJCH.Web.OnLineRegis" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>北京城建促进会-教育培训-网上报名</title>
    <link href="Style/newcss.css" rel="stylesheet" type="text/css" />
    <script src="JScript/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="Script/JQcheck.js" type="text/javascript"></script>
    <script type="text/javascript">
        function checkform() {
            if (IsNothing($("#txtCompanyName"), "请输入单位名称!")) {
                return false;
            }
            if (IsNothing($("#txtCompanyAddress"), "请输入单位地址!")) {
                return false;
            }
            if (IsNothing($("#txtPostCode"), "请输入邮编！")) {
                return false;
            }
            if (checkpostid($("#txtPostCode"), "请输入正确的邮编！")) {
                return false;
            }
            if (IsNothing($("#txtContactName"), "请输入联系人姓名!")) {
                return false;
            }
            if (IsNothing($("#txtUserMobile"), "请输入手机号码！")) {
                return false;
            }
            if (checkmobile($("#txtUserMobile"), "请输入正确的手机号码！")) {
                return false;
            }
            if (IsNothing($("#txtUserEmail"), "请输入e-mail地址！")) {
                return false;
            }
            if (checkemail($("#txtUserEmail"), "请输入正确的e-mail地址！")) {
                return false;
            }
            if (IsNothing($("#dropItem"), "请选择报名讲座主题！")) {
                return false;
            }
            if (IsNothing($("#txtPeopleCount"), "请输入报名人数!")) {
                return false;
            }
            if (checkdigit($("#txtPeopleCount"), "请输入正确的报名人数!")) {
                return false;
            }
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div runat="server" id="divHidden" visible="false">
        <asp:Label ID="lblFID" runat="server"></asp:Label>
        <asp:Label ID="lblSID" runat="server"></asp:Label>
        <asp:Label ID="lbltypeName" runat="server"></asp:Label>
        <asp:Label ID="lblKeyWord" runat="server"></asp:Label>
    </div>
    <div class="MainContain">
        <uc:Top ID="Top1" runat="server" IIndex="4" />
        <!--Body Start-->
        <div class="SubBody">
            <!--BodyLeft Start-->
            <%--<div class="SubBLeft">
                <div class="Header_Text">
                    <img src="Image/SubBodyLeft_header4.gif" border="0" /></div>
                <div class="LeftBody">
                    <div class="SubMenuBox">
                        <asp:Repeater ID="rptMenu" runat="server" OnItemDataBound="rptMenu_ItemDataBound">
                            <ItemTemplate>
                                <div class="Header_Title">
                                    <asp:HyperLink ID="lnkMenu" runat="server"></asp:HyperLink>
                                </div>
                                <div class="SubMbox">
                                    <ul>
                                        <asp:Repeater ID="rptSubMenu" runat="server" OnItemDataBound="rptSubMenu_ItemDataBound">
                                            <ItemTemplate>
                                                <li id="liSubMenu" runat="server">
                                                    <asp:HyperLink ID="lnkSubMenu" runat="server"></asp:HyperLink></li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </ul>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                </div>
            </div>--%>
            <uc:LeftMenu ID="LeftMenu1" runat="server" FirstId="3" SecondId="8" ThirdId="0" />
            <!--BodyLeft end-->
            <!--BodyRight Start-->
            <div class="SubBRight">
                <div class="SubBanner">
                    <img src="Image/SubBanner4.gif" border="0" /></div>
                <div class="Sunbody">
                    <div class="NewsDynamic">
                        <div class="AboutusTitle">
                            网上报名</div>
                        <div class="DyNewBody">
                            <div style="margin: 18px auto; width: 300px;">
                                <div>
                                    <asp:Label ID="lblMessage" runat="server" Style="font-size: 25px;display:none; color: red;">暂时没有讲座</asp:Label><br />
                                    <br />
                                </div>
                                <label for="user">
                                    单位名称:</label>
                                <asp:TextBox ID="txtCompanyName" runat="server"></asp:TextBox>*<br />
                                <label for="adress">
                                    单位地址:</label>
                                <asp:TextBox ID="txtCompanyAddress" runat="server"></asp:TextBox>*<br />
                                <label for="zipcode">
                                    邮编:</label>
                                <asp:TextBox ID="txtPostCode" runat="server"></asp:TextBox>*<br />
                                <label for="name">
                                    联系人姓名:</label>
                                <asp:TextBox ID="txtContactName" runat="server"></asp:TextBox>*<br />
                                <label for="post">
                                    职务:</label>
                                <asp:TextBox ID="txtDutyName" runat="server"></asp:TextBox><br />
                                <label for="tel">
                                    办公室电话:</label>
                                <asp:TextBox ID="txtOfficeTel" runat="server"></asp:TextBox><br />
                                <label for="phone">
                                    手机:</label>
                                <asp:TextBox ID="txtUserMobile" runat="server"></asp:TextBox>*<br />
                                <label for="fax">
                                    传真:</label>
                                <asp:TextBox ID="txtUserFax" runat="server"></asp:TextBox><br />
                                <label for="email">
                                    e-mail:</label>
                                <asp:TextBox ID="txtUserEmail" runat="server"></asp:TextBox>*<br />
                                <label for="title">
                                    报名讲座主题:</label>
                                <%-- <select style="width: 183px; border: 1px solid #39F;">
                                    <option value="1" selected>第六期：新标准宣贯</option>
                                </select>--%>
                                <asp:DropDownList ID="dropItem" runat="server" Style="width: 183px; border: 1px solid #39F;">
                                </asp:DropDownList>
                                *
                                <br />
                                <label for="number">
                                    报名人数:</label>
                                <asp:TextBox ID="txtPeopleCount" runat="server"></asp:TextBox>*<br />
                                <div id="divShow" runat="server">
                                <asp:Button ID="btnSubmit" runat="server" CssClass="sbutton" Text="提交" Style="width: 40px;"
                                    OnClick="btnSubmit_Click" />
                                <input type="reset" id="sbutton" value="重置" /><br />
                                </div>
                            </div>
                        </div>
                        <div class="Edubottom">
                            &nbsp;</div>
                        <div style="clear: both;">
                        </div>
                    </div>
                </div>
            </div>
            <!--BodyRight end-->
        </div>
        <!--Body end-->
    </div>
    <!--MainFooter Start-->
    <uc:Footer ID="Footer1" runat="server" />
    <!--MainFooter end-->
    </form>
</body>
</html>
